package com.start.ad.service.Impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.start.ad.entity.StartAdContentEntity;
import com.start.ad.mapper.StartAdContentMapper;
import com.start.ad.service.StartAdContentService;
import com.start.ad.vo.StartAdContentVo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StartAdContentServiceImpl extends ServiceImpl<StartAdContentMapper, StartAdContentEntity> implements StartAdContentService {
    @Override
    public Page<StartAdContentVo> pageAdContent(Page<StartAdContentVo> page, Wrapper<StartAdContentVo> queryWrapper) {
        return baseMapper.pageAdContent(page, queryWrapper);
    }

    @Override
    public List<StartAdContentVo> listAdContent(Wrapper<StartAdContentVo> queryWrapper) {

        return baseMapper.listAdContent(queryWrapper);
    }
}
